<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8" isELIgnored="false"%>
<%@ include file="/WEB-INF/views/shared/taglib.jsp"%>
<table class="cntable table table-bordered dataTable table-money">
	<thead>
		<tr>
			<th style="width:50px">序号</th>
			<th style="width:100px">课题组名称</th>
			<th style="width:100px">工具名称</th>
			<th style="width:100px">购买者姓名</th>
			<th style="width:120px">购买时间</th>
			<th style="width:100px">使用年限</th>
			<th style="width:100px">单价</th>
			<th style="width:80px">数量</th>
			<th style="width:100px">使用状态</th>
		</tr>
	</thead>
	<tbody>
		<c:forEach var="asset" items="${assets}" varStatus="status">
			<tr data-id="${asset.assetId}">
				<td>${status.index+1}</td>
				<td>${asset.groupName}</td>
				<td>${asset.assetName}</td>
				<td>${asset.buyerName}</td>
				<td><fmt:formatDate value="${asset.buyDate}" pattern="yyyy/MM/dd "/></td>
				<td>${asset.useDate}</td>
				<td>${asset.price}</td>
				<td>${asset.number}</td>
					<td>
					<t:provider packageName="money" enumClassName="AssetState" value="${asset.state}"/> 
				</td>
			</tr>
		</c:forEach>
	</tbody>
	<tfoot>
		<tr>
			<th class="pager-th">
				<%@ include file="/WEB-INF/views/shared/master/pager.jsp"%>
			</th>
		</tr>
	</tfoot>
</table>